﻿// <copyright file="ITrackFormControl.cs" company="Microsoft Corporation">
// Copyright (c) 2009 Microsoft Corporation All Rights Reserved
// </copyright>
// <author>Michael S. Scherotter</author>
// <email>mischero@microsoft.com</email>
// <date>2010-01-29</date>
// <summary>ITrackFormControl interface defintion</summary>

namespace Microsoft.WebAnalytics.Contracts
{
    using System;
    using System.Windows.Controls;

    /// <summary>
    /// Track Form Control interface
    /// </summary>
    public interface ITrackFormControl
    {
        /// <summary>
        /// Attach to the events for a control
        /// </summary>
        /// <param name="control">the control</param>
        /// <param name="eventHandler">the event handler to route events to</param>
        void AttachEvents(Control control, EventHandler<FormEventArgs> eventHandler);
    }
}
